package lifecycle;
/*
static block
main

instance block
constructor
instance block
constructor

 */

public class init {


    static {
        System.out.println("static block");
    }

    {
        System.out.println("instance block");
    }

    public init() {
        System.out.println("constructor");
    }

    public static void main(String[] args) {
        System.out.println("main");
        new init();
        new init();
    }
}
